package com.pennphoto.client;


import java.util.ArrayList;
import java.util.HashMap;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;


@RemoteServiceRelativePath("queryservice")
public interface QueryService  extends RemoteService {

	int getUserIdForCredentials(String username, String passwd) throws Exception;
	PersonType getUserInformation(Integer userId) throws Exception;
	ArrayList<ViewedPhotos> getUserPhotos(int i) throws Exception;
	Circles getCircles(int userid) throws Exception;
	String removeFriend(int userid, int friendid, String circlename) throws Exception;
	HashMap<Integer,String> getFriendRecommendation(int userid) throws Exception;
	String addToCircle(int userid,int friendid, String circleName) throws Exception;
	String getcircleRecommendation(int userid,int friendid) throws Exception;
}
